package models

import "gorm.io/gorm"

type Order struct {
	gorm.Model
	ID                   int
	DeliverAddressId     int
	ShopId               int
	BuyerId              int
	CommodityIdList      string
	CommodityNumberList  string
	CreationTime         string
	PaymentTime          string
	SendTime             string
	EvaluateTime         string
	TrackingNumber       string
	UseCouponIdList      string
	CommodityPaymentList string
	TotalPayment         float64
}

func (table *Order) TableName() string {
	return "order__order"
}
